﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="edit.aspx.cs" Inherits="AnyOffice.general.calendar.info.edit" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>新建事务</title>
		<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
		<meta name="CODE_LANGUAGE" Content="C#">
		<meta name="vs_defaultClientScript" content="JavaScript">
		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
		<script Language="JavaScript">
		function CheckForm()
		{
		if(document.Form1.txtContent.value=="")
		{ alert("事务内容不能为空！");
			return (false);
		}
		Form1.submit();
		}
		</script>
	</HEAD>
	<body class="bodycolor" topmargin="5">
		<form id="Form1" method="post" runat="server">
			<asp:Panel id="pnlMain" runat="server">
				<TABLE class="small" cellSpacing="0" cellPadding="3" width="100%" border="0">
					<TR>
						<TD class="Big"><IMG height="20" src="/images/menu/calendar.gif" width="22" align="absMiddle">
							<SPAN class="big3">&nbsp;编辑事务（<asp:Literal id="litSpecifyDate" runat="server"></asp:Literal>）</SPAN>
						</TD>
					</TR>
				</TABLE>
				<BR>
				<TABLE class="small" cellSpacing="1" cellPadding="2" width="450" align="center" bgColor="#000000"
					border="0">
					<TR>
						<TD class="TableData" noWrap>开始时间：</TD>
						<TD class="TableData"><!-------------- 时 ------------>
							<asp:DropDownList id="ddlStartHour" runat="server" CssClass="SmallSelect"></asp:DropDownList>：&nbsp; 
							<!-------------- 分 ------------>
							<asp:DropDownList id="ddlStartMinute" runat="server" CssClass="SmallSelect"></asp:DropDownList></TD>
					</TR>
					<TR>
						<TD class="TableData" noWrap>结束时间：</TD>
						<TD class="TableData">
							<asp:DropDownList id="ddlEndHour" runat="server" CssClass="SmallSelect"></asp:DropDownList>：&nbsp; 
							<!-------------- 分 ------------>
							<asp:DropDownList id="ddlEndMinute" runat="server" CssClass="SmallSelect"></asp:DropDownList></TD>
					</TR>
					<TR>
						<TD class="TableData" noWrap>事务内容：</TD>
						<TD class="TableData"><TEXTAREA class="BigInput" id="txtContent" name="txtContent" rows="5" cols="45" runat="server"></TEXTAREA>
						</TD>
					</TR>
					<TR>
						<TD class="TableData" noWrap>提醒：
						</TD>
						<TD class="TableData">
							<asp:CheckBox id="ckbSms" runat="server" Text="使用内部短信提醒用户" Checked="True"></asp:CheckBox>
							<asp:CheckBox id="ckbMobile" runat="server" Text="使用手机短信提醒用户" Visible="False"></asp:CheckBox></TD>
					</TR>
					<TR class="TableControl" align="center">
						<TD noWrap colSpan="2">&nbsp;&nbsp;<INPUT class="BigButton" onclick="CheckForm();" type="button" value="确定">&nbsp;&nbsp;
							<INPUT class="BigButton" onclick="window.close();" type="button" value="关闭">
						</TD>
					</TR>
				</TABLE>
			</asp:Panel>
			<asp:Literal id="litMessage" runat="server"></asp:Literal>
		</form>
	</body>
</HTML>
